package com.gyg.utils;

import java.util.Random;

public class RandomUtil {

    /**
     * 随机生成用户名
     * @return
     */
    public static String randomUsername() {
        String user = "用户";
        String random = cn.hutool.core.util.RandomUtil.randomString(10);
        return user + random;
    }

    public static void main(String[] args) {
        String s = randomUsername();
        System.out.println(s);
    }

}
